<?php
	/**
 * @author quan
 * @copyright 2011
 */
?>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="../jquery/JS.js"></script>
<script type="text/javascript" src="../jquery/ajax.js"></script>
<script type="text/javascript" src="../jquery/jquery.history.js">
</script>
<link  rel="stylesheet" type="text/css" href="../Styles/CSS.css"/>
<table style="width: 100%;border: none;">
    <tr>
    	<td width="100px">Authority</td>
    	<td colspan="4"><input type="button" value="Add"/></td>
    </tr>
    <tr >
    	<th class="th_1">No.</th>
    	<th class="th_1">Tên Quyền</th>
        <th class="th_1">Mô Tả</th>
        <th class="th_1">#</th>
        <th class="th_1">Delete</th>
    </tr>
    <tr class="td_1">
    	<td align="center" class="td_1">01</td>
        <td class="td_1">Admin</td>
        <td class="td_1">Quản Lý</td>
        <td align="center" class="td_1 edit_1" ><span style="cursor:pointer">Edit</span></td>
        <td align="center" class="td_1"><input type="checkbox" /></td>
    </tr>
    <tr class="td_1">
    	<td align="center" class="td_1">02</td>
        <td class="td_1">User</td>
        <td class="td_1">sử dụng</td>
        <td align="center" class="td_1 edit_1" ><span style="cursor:pointer">Edit</span></td>
        <td align="center" class="td_1"><input type="checkbox" /></td>
    </tr>
</table>
<script>
$(".edit_1").click(function (){
    if($("#tmp").length){
						$("#tmp").remove();
					}
	$(this.parentNode).after("<tr ><td colspan=\"5\" id=\"tmp\" style=\"padding:0 !important\" width=\"100%\">asdasd</td></tr>");
    v=$(this).prev().prev().html();
	url="../Page/20_01_organization.php"
    $("#tmp").load(url);
})

</script>